package com.plum.admin.modules.sys.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.plum.admin.modules.sys.entity.SysJob;
import com.plum.admin.modules.sys.mapper.SysJobMapper;
import com.plum.admin.modules.sys.service.ISysJobService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 岗位管理 服务实现类
 * </p>
 *
 * @author 子丶沫
 * @since 2021-08-13
 */
@Service
public class SysJobServiceImpl extends ServiceImpl<SysJobMapper, SysJob> implements ISysJobService {

    @Override
    public IPage<SysJob> queryJobList(IPage<SysJob> page, Wrapper<SysJob> wrapper) {
        return page.setRecords(baseMapper.queryJobList(page,wrapper));
    }
}
